﻿#ifndef __SS_CIRCLE_H__
#define __SS_CIRCLE_H__
#include "ssVector2.h"

namespace StarSeeker
{

class ssCircle
{
public:
	ssCircle(void);
	ssCircle(ssfloat x, ssfloat y, ssfloat radius);

	void Set(ssfloat x, ssfloat y, ssfloat radius);
	//清零
	void Zero();
	//点是否在圆内
	bool PointIsInside(ssfloat x, ssfloat y);
	bool PointIsInside(ssVector2& p);

	ssVector2	m_center;
	ssfloat		m_radius;
};

}
#endif
